package com.nf.dao.impl;

import com.nf.dao.UserDao;
import com.nf.entity.User;

public class UserDaoImpl implements UserDao {


    public User getUserById(String id) {
        //写JDBC或者hibernate等代码，获取user
        //模拟从数据库已经取了一个User
        User user = new User();
        user.setUserName("小李");
        user.setUserPassword("123456");
        return user;
    }
}
